var arr = [{

    label: "用户名",

    name: "username",

    type: "text"

}, {

    label: "密码",

    name: "password",

    type: "password"

}, {

    label: "性别",

    name: "gender",

    type: "select",

    value: ['男', '女', '不男', '不女', 'Gay', '妖王']

}, {

    label: "爱好",

    name: "hobby",

    type: "checkbox",

    value: ['篮球', '足球', '羽毛球', '兵乓球', '爬山', '购物', '旅游', '看美女']

}, {

    label: '是否已婚',

    name: 'married',

    type: 'radio',

    value: ['已婚', '未婚']

},
{

    label: '简介',

    name: 'resume',

    type: 'textarea'

}
];